import {get,post,del,put} from '@/api/request'
export const page=(data: any)=>get('/app/order/page',data);
export const mypage=(data: any)=>get('/app/order/myorder',data);
export const list=(data: any)=>get('/background/order/list',data);
export const info=(param: any)=>get('/app/order/info/'+param,null);
export const saveOrder=(data: object)=>post('/app/order/add',data);
export const editOrder=(data: object)=>put('/app/order/update',data);
export const removeOrder=(param: any)=>del('/app/order/remove',param);
export const getWxPayInfo=(data: object)=>post('/app/order/getWxPayInfo',data);
export const closeOrder=(data: any)=>get('/app/order/closeOrder/'+data,null);
